<?
	$this->load->helper('form');
	
?>
<?=form_open($this->uri->uri_string(), array('id' => 'login_form'))?>
	<filedset>
	<!--USERNAME-->
		<div class="row">
			<label for="user_name">User Name:</label>
			<?=form_input(array('name'=>'user_name', 
			                       'id'=>'user_name',
			                       'maxlength'=>'30', 
			                       'size'=>'15',
			                       'value'=>''))?>
		</div>
	<!--PASSWORD-->
		<div class="row">
			<label for="password">Password:</label>
			<?=form_password(array('name'=>'password', 
			                       'id'=>'password',
			                       'maxlength'=>'30', 
			                       'size'=>'15',
			                       'value'=>''))?>
		</div>
		<div class="error">
			<?php if (isset($errors)): ?>
				<ul>
				<?php foreach($errors as $error): ?>
				<li><?=$error?></li>
				<?php endforeach; ?>
				</ul>
			<?php endif ?>

		</div>
		<?=form_submit(array('name'=>'submit', 'id'=>'submit', 'value'=>'Login'))?>
	</fieldset>
<?=form_close()?>
